package com.example.xuechengpluscontentapi;

import com.spring4all.swagger.EnableSwagger2Doc;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * 内容管理服务启动类
 */
@EnableSwagger2Doc
@SpringBootApplication
@ComponentScan(basePackages = {"com.example.xuechengpluscontentapi","com.example.xuechengplusbase.base",
        "com.example.xuechengpluscontentservice.content","com.xuecheng.messagesdk"})
public class ContentApplication {
    public static void main(String[] args) {
        SpringApplication.run(ContentApplication.class, args);
    }
}
